<template>
	<view class="mrk-record">
		<view class="record">
			<image class="record-img" src="../../../static/images/luyin-f.png" />
			<text  class="record-span">{{text}}</text>
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			text: String
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	@import "../../common/scss/common.scss";
	.mrk-record {
	    position: absolute;
	    top: 0;
	    z-index: 10;
	    left: 0;
	    right: 0;
	    bottom: 0;
	    margin: auto;
	    height: ws(400);
	    background-color: transparent;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    .record {
	        width: ws(150);
	        height: ws(150);
	        background-color: rgba(#000, .5);
	        border-radius: ws(10);
	        display: flex;
	        flex-direction: column;
	        align-items: center;
	        justify-content: center;
	        .record-img {
	            width: ws(80);
				height: ws(80);
				animation: bounce 1.5s ease-in infinite alternate;
	        }
	        .record-span {
	            color: #fff;
	            font-size: ws(16);
	        }
	    }
	}
	
	@keyframes bounce {
		0%{
			opacity: 1;
		}
		100% {
			opacity: .3;
		}
	}
</style>
